import axios from '@/utils/request'

//获取菜单列表
export const menuList = (data) => {
  return axios.get('/api/menus/menulist', data)
}
//删除菜单
export const delMenuList = (data) => {
  return axios.post('/api/menus/delMenuList', data)
}
//新增编辑菜单
export const addMenuList = (data) => {
  return axios.post('/api/menus/addmenulist', data)
}
